(isearch-highlight): Don't punt if the display
authorEli Zaretskii <eliz@gnu.org>
Sun, 28 Jan 2001 13:11:35 +0000 (13:11 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 28 Jan 2001 13:11:35 +0000 (13:11 +0000)
doesn't support colors, since isearch faces are defined for
monochrome displays as well.

lisp/isearch.el

index ff63d5ab3d09745cf4fd946fb80cd7b45baaf020..8a69d51a93ba696376367180605982800783c208 100644 (file)
@@ -1744,7 +1744,7 @@ If there is no completion possible, say so and continue searching."
 (defvar isearch-overlay nil)
 
 (defun isearch-highlight (beg end)
-  (unless (or (null search-highlight) (null (display-color-p)))
+  (unless (null search-highlight)
     (cond (isearch-overlay
           ;; Overlay already exists, just move it.
           (move-overlay isearch-overlay beg end (current-buffer)))